﻿@model IEnumerable<shop.NgheNghiep>
         
              <select name="MaNN">
@foreach (var item in Model)
{
             if (ViewBag.type=="1")
             {
                 if(ViewBag.MaNN== item.MaNN)
                 {
                    <option selected="selected" value="@item.MaNN"> @item.NgheNghiep1</option> 
                 }
                 else
                 {
                     <option value="@item.MaNN"> @item.NgheNghiep1</option>
                 }
             }
             else
             {
                 <option value="@item.MaNN"> @item.NgheNghiep1</option>
             }   
}
              </select> 
               
           